CXXFLAGS=-I. -I/usr/include
LDFLAGS=-L/usr/lib

all: Server Client

Server: LDLIBS=-lFreeze
Server: Server.o Hello.o
Server.o: Server.cpp Hello.h

Client: LDLIBS=-lIce
Client: Client.o Hello.o
Client.o: Client.cpp Hello.h

%.h %.cpp: %.ice
	slice2cpp $<

clean:
	$(RM) *~ *.o Hello.h Hello.cpp Server Client
	$(RM) db/*

